import { IServiceManager } from "../../ioc/types";
import { BufferDecoder } from "./decoder";
import { EQExecutionFactory } from "./eqExecutionFactory";
import { ProcessServiceFactory } from "./processFactory";
import { IBufferDecoder, IEQExecutionFactory, IProcessServiceFactory } from "./types";

export function registerTypes(serviceManager: IServiceManager) {
  serviceManager.addSingleton<IEQExecutionFactory>(IEQExecutionFactory, EQExecutionFactory);
  serviceManager.addSingleton<IProcessServiceFactory>(IProcessServiceFactory, ProcessServiceFactory);
  serviceManager.addSingleton<IBufferDecoder>(IBufferDecoder, BufferDecoder);

}